<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=0lPULNZ5PmrFVg76kFuRjezF"></script>-->
<script type="text/javascript" src="http://api.map.baidu.com/getscript?v=2.0&ak=0lPULNZ5PmrFVg76kFuRjezF&services=&t=20180102152545"></script>
<script type="text/javascript" src="http://unpkg.com/inmap/dist/inmap.min.js"></script>
<!--(function(){ window.BMap_loadScriptTime = (new Date).getTime(); document.write('');})();-->
<div id="allmap" style="width:100%;height:500px"> </div>
<script>
    let data =[];
    var inmap = new inMap.Map({
        id: "allmap",
        skin: "Blueness",
        center: [105.403119, 38.028658],
        zoom: {
            value: 5,
            show: true,
            max: 18,
            min: 5
        },
    });
    var overlay = new inMap.DotOverlay({
        style: {
            normal: {
                backgroundColor: "rgba(200, 200, 50, 1)", // 填充颜色
                shadowColor: "rgba(255, 255, 255, 1)", // 投影颜色
                shadowBlur: 35, // 投影模糊级数
                globalCompositeOperation: "lighter", // 颜色叠加方式
                size: 5 // 半径
            }
        },
        data: data,
    });
    inmap.add(overlay);
</script>

</body>
</html>